Skip to content

android: fix .NET 10 APK signing and parsing regressions - #191

Merged
winnerspiros merged 3 commits into
masterfrom
fix/android-net10-signing-regressions-6592730468580060468
Apr 13, 2026
Merged

android: fix .NET 10 APK signing and parsing regressions#191
winnerspiros merged 3 commits into
masterfrom
fix/android-net10-signing-regressions-6592730468580060468

Conversation

@google-labs-jules

Copy link
Copy Markdown

This commit restores critical build properties and manifest attributes required for stable .NET 10 Android builds, addressing the INSTALL_PARSE_FAILED_NO_CERTIFICATES (null array length) error during APK installation.

Key fixes:

  • Restored FixRuntimePackAssetTypes target in osu.Android.props to ensure correct classification of native assets, preventing signature corruption.
  • Added explicit rooting and PackageReference for Microsoft.CSharp in osu.Android.props to prevent trimmer crashes in reflection-heavy code.
  • Restored android:extractNativeLibs="true" in AndroidManifest.xml, which is required for NativeAOT on modern Android.
  • Lowered targetSdkVersion to 35 for better stability during the .NET 10 preview cycle, avoiding experimental API 36 packaging behaviors.
  • Hardened release.yml by restoring dotnet workload update, adding quotes to signing parameters, and strictly prioritizing the publish/ directory for artifact discovery.

PR created automatically by Jules for task 6592730468580060468 started by @winnerspiros

This commit restores critical build properties and manifest attributes
required for stable .NET 10 Android builds, addressing the
INSTALL_PARSE_FAILED_NO_CERTIFICATES (null array length) error.

- Restored FixRuntimePackAssetTypes target in osu.Android.props to ensure
  correct classification of native assets.
- Restored android:extractNativeLibs="true" in AndroidManifest.xml.
- Lowered targetSdkVersion to 35 for better stability during the .NET 10
  preview cycle.
- Hardened release.yml to ensure workload updates and quoted signing parameters,
  and improved APK discovery logic.
@google-labs-jules

Copy link
Copy Markdown
Author

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

Comment thread osu.Game.Rulesets.Osu/Objects/Drawables/DrawableSliderRepeat.cs Fixed
- Restored FixRuntimePackAssetTypes target in osu.Android.props to ensure correct classification of native assets.
- Added Microsoft.CSharp rooting and PackageReference in osu.Android.props to prevent trimmer crashes.
- Restored android:extractNativeLibs="true" in AndroidManifest.xml for NativeAOT compatibility.
- Lowered targetSdkVersion to 35 for better stability during .NET 10 preview.
- Hardened release.yml with workload updates and quoted signing parameters.
- Fixed redundant blank lines in DrawableSliderRepeat.cs to resolve security bot warning.
This commit restores critical build properties and manifest attributes
required for stable .NET 10 Android builds, addressing the
INSTALL_PARSE_FAILED_NO_CERTIFICATES (null array length) error.

- Restored FixRuntimePackAssetTypes target in osu.Android.props to ensure
  correct classification of native assets.
- Added Microsoft.CSharp rooting and PackageReference in osu.Android.props
  to prevent trimmer crashes.
- Restored android:extractNativeLibs="true" in AndroidManifest.xml.
- Increased targetSdkVersion to 36 in AndroidManifest.xml to match the
  TargetFrameworkVersion and resolve XA1006 warnings.
- Hardened release.yml with workload updates and quoted signing parameters.
- Fixed redundant blank lines in DrawableSliderRepeat.cs to resolve security warning.
@winnerspiros
winnerspiros merged commit 7d3b459 into master Apr 13, 2026
5 of 15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants